package roborally;

import be.kuleuven.cs.som.annotate.Value;

/**
 * An enumeration introducing the different directions a robot can face.
 * @author Joren Van den Brande and Michael Vandendriessche
 *
 */

@Value
public enum Direction {
	UP{
	
		public int getNb(){
			return 0;
		}
	},
	
	RIGHT{
		public int getNb(){
			return 1;
		}
	},
	
	DOWN{
		public int getNb(){
			return 2;
		}
	},
	
	LEFT{
		public int getNb(){
			return 3;
		}
	};		

	public abstract int getNb();

}


